<template>
<!-- 渠道结算 -->
    <div>
        <el-card>
            <div slot="header" class="clearfix">
                <span style="line-height: 36px;">销售导出</span>
            </div>
            <policy-list :type="'渠道销售'">
            </policy-list>
        </el-card>
         <div class="space20">
        </div>
         <el-card>
            <div slot="header" class="clearfix">
                <span style="line-height: 36px;">退保</span>
            </div>
            <organization-ensure :type="'渠道退保'">
            </organization-ensure>
        </el-card>
        <div class="space20">
        </div>
        <el-card>
            <div slot="header" class="clearfix">
                <span style="line-height: 36px;">需确认</span>
                <el-button type="primary" @click="allEnsure" style="float:right">
                    确定已选
                </el-button>

            </div>
            <organization-ensure ref="organizationEnsure" :type="'渠道确认'">
            </organization-ensure>
        </el-card>
    </div>
</template>

<script>
import PolicyList from '@/components/Clearing/PolicyList'
import OrganizationEnsure from '@/components/Clearing/OrganizationEnsure'

export default {
    data() {
        return {
            timeArry: '',
            searchModel: {
                beginTime: '',
                endTime: ''
            }
        }
    },
    components: {
        'policy-list': PolicyList,
        'organization-ensure': OrganizationEnsure
    },
    methods: {
        onSubmit() {
            
        },
        allEnsure() {
            this.$refs.organizationEnsure.allEnsure();
        }
    }

}
</script>

<style scope>
input {
    max-width: 500px !important;
}
</style>
